package com.ruoqing.core.domain.rqblog;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

  /**  
    * @title: RuoXiBlogDetailsPo
    * @projectName ruoxi-blog
    * @description: 若兮微服务 - 
    * @author YaoXian
    * @date 2021-03-05 15:54
    */
@Data
@TableName(value = "ruoxi_blog_details")
public class RuoXiBlogDetailsPo {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField(value = "title")
    private String title;
    
    @TableField(value = "last_time")
    private Date lastTime;

    @TableField(value = "content_id")
    private String contentIds;

    @TableField(value = "view_count")
    private Integer viewCount;

    @TableField(value = "praise_count")
    private Integer praiseCount;

    @TableField(value = "dislike_count")
    private Integer dislikeCount;

    @TableField(value = "comments_id")
    private Integer commentsId;

    public static final String COL_ID = "id";

    public static final String COL_TITLE = "title";

    public static final String COL_LAST_TIME = "last_time";

    public static final String COL_CONTENT_ID = "content_id";

    public static final String COL_VIEW_COUNT = "view_count";

    public static final String COL_PRAISE_COUNT = "praise_count";

    public static final String COL_DISLIKE_COUNT = "dislike_count";

    public static final String COL_COMMENTS_ID = "comments_id";
}